home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / pipedream / Documents / Functions / Lookup < prev    next >
Encoding:
Text File  |  1991-10-09  |  1.3 KB  |  113 lines

  1. %OP%DP0
  2. %OP%LP*
  3. %OP%TM4
  4. %OP%BM4
  5. %OP%LM5
  6. %OP%FX
  7. %OP%FY
  8. %OP%FS
  9. %OP%WC2,1750,636,1364,0,1,0,0
  10. %OP%VS3.40R (11-Oct-90), Mrjc, R9200 7500 3900 8299 
  11. %CO:A,10,81%%C%%H1%Lookup Functions Examples
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. %C%Function
  22. Choose
  23. Lookup
  24. HLookup
  25. VLookup
  26. Match
  27. Index
  28. %CO:B,9,16%
  29.  
  30.  
  31. %V%%C%8
  32. %V%%C%7
  33. %V%%C%2
  34. %V%%C%11
  35. %V%%C%6
  36.  
  37.  
  38. %C%Input 1
  39. %V%%C%4
  40. %V%%C%11
  41. %V%%C%7
  42. %V%%C%17
  43. %V%%C%13
  44. %V%%C%{11,12,13;21,22,23;31,32,33}
  45. %CO:C,9,0%
  46.  
  47.  
  48. %V%%C%5
  49. %V%%C%12
  50. %V%%C%7
  51. %V%%C%9
  52. %V%%C%17
  53.  
  54.  
  55. %C%Input 2
  56. %C%b4b8
  57. %C%b4b8
  58. %C%b5e5
  59. %C%c4c8
  60. %C%b4e4
  61. %V%%C%3
  62. %CO:D,9,0%
  63.  
  64.  
  65. %V%%C%10
  66. %V%%C%13
  67. %V%%C%7
  68. %V%%C%5
  69. %V%%C%12
  70.  
  71.  
  72. %C%Input 3
  73. %C%-
  74. %C%c4c8
  75. %V%%C%2
  76. %V%%C%1
  77. %V%%C%1
  78. %V%%C%1
  79. %CO:E,8,90%
  80.  
  81.  
  82. %V%%C%12
  83. %V%%C%19
  84. %V%%C%1
  85. %V%%C%7
  86. %V%%C%1
  87.  
  88.  
  89. %C%Result
  90. %V%%C%choose(b12,b4b8)
  91. %V%%C%lookup(b13,b4b8,c4c8)
  92. %V%%C%hlookup(b14,b5e5,d14)
  93. %V%%C%vlookup(b15,c4c8,d15)
  94. %V%%C%match(b16,b4e4,d16)
  95. %V%%C%index(b17,c17,d17)
  96. %CO:F,61,62%
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. %L%Summary
  107. Returns the %H4%Input1%H6%st%H6%%H4% entry from a list of numbers.
  108. Returns the value in range 2 corresponding to the position of %H4%Input1%H4% in range 1.
  109. As for Lookup, but range 2 given as a horizontal offset (%H4%Input3%H4%) from range 1.
  110. As for Lookup, but range 2 given as a vertical offset (%H4%Input3%H4%) from range 1.
  111. Returns the value in the range which %H4%Input1%H4% matches.
  112. Returns the desired element of an array.
  113.